/**
 * @Author: LongTao
 * @program: day05_longtao_mybatis_1917JA_20201216
 * @description: 角色实体类
 * @create: 2020-12-16 11:03
 * @version:1.0
 **/
package com.longtao.smbms.pojo;

public class Role {
    /**
     * 主键ID
     */
    private int id;
    /**
     * 角色编码
     */
    private String roleCode;
    /**
     * 角色名称
     */
    private String roleName;
    /**
     * 创建者
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private String creationDate;
    /**
     * 修改者
     */
    private Integer modifyBy;
    /**
     * 修改时间
     */
    private String modifyDate;

    /**
     * @Author: LongTao
     * @Description:
     * @Param: []
     * @return:
     * @Date 2020/12/16 11:19
     */
    public Role() {
    }

    /**
     * @Author: LongTao
     * @Description:
     * @Param: [id, roleCode, roleName, createdBy, creationDate, modifyBy, modifyDate]
     * @return:
     * @Date 2020/12/16 11:20
     */
    public Role(int id, String roleCode, String roleName, String createdBy, String creationDate, Integer modifyBy, String modifyDate) {
        this.id = id;
        this.roleCode = roleCode;
        this.roleName = roleName;
        this.createdBy = createdBy;
        this.creationDate = creationDate;
        this.modifyBy = modifyBy;
        this.modifyDate = modifyDate;
    }

    /**
     * @Author: LongTao
     * @Description:
     * @Param: []
     * @return: int
     * @Date 2020/12/16 11:20
     */
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(String creationDate) {
        this.creationDate = creationDate;
    }

    public Integer getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Integer modifyBy) {
        this.modifyBy = modifyBy;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", roleCode='" + roleCode + '\'' +
                ", roleName='" + roleName + '\'' +
                ", createdBy='" + createdBy + '\'' +
                ", creationDate='" + creationDate + '\'' +
                ", modifyBy=" + modifyBy +
                ", modifyDate='" + modifyDate + '\'' +
                '}';
    }
}